﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core.DS
{
    public static partial class classes
    {
        public static dynamic getClassList()
        {
            var sql = new Sql.SqlDataContext();
            var result = from c in sql.DSClass
                         orderby c.cid descending
                         select c;
            return new
            {
                success = true,
                result
            };
        }
    }
}
